package com.iotechn.unimall.data.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.iotechn.unimall.data.domain.RechargeableOrderDO;
import com.iotechn.unimall.data.dto.rechargeable.RechargeableOrderUserDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 
 * 
 * @author chen
 * @email 
 * @date 2020-05-27 17:03:39
 */
public interface RechargeableOrderMapper extends BaseMapper<RechargeableOrderDO> {

    public List<RechargeableOrderUserDTO> selectRechargeableOrder(@Param("phone") String phone,@Param("offset") Integer offset,@Param("limit") Integer limit);

    public Integer selectRechargeableOrderCount(@Param("phone") String phone);
}
